package com.whfc.wxmp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication(scanBasePackages = "com.whfc")
@EnableAsync
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableRedisHttpSession(redisNamespace = "mp", maxInactiveIntervalInSeconds = 24 * 60 * 60 * 30)
public class WxmpApplication {

    public static void main(String[] args) {
        SpringApplication.run(WxmpApplication.class, args);
    }
}
